.class Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;
.super Ljava/lang/Object;
.source "PictureCompositionActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "l"
.end annotation


# instance fields
.field a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$k;

.field final synthetic b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$k;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$k;

    return-void
.end method

.method private a()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$k;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$b;->a()I

    move-result v0

    .line 2
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a(I)V

    return-void
.end method

.method private a(I)V
    .locals 3

    .line 3
    sget-object v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "abandonAdjust:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    if-ltz p1, :cond_0

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-gt p1, v0, :cond_0

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    const/4 v1, 0x0

    .line 6
    iput v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->j:I

    .line 7
    iget v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->e:I

    iput v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->g:I

    .line 8
    iget v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->f:I

    iput v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->h:I

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$EntryAdapter;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    :cond_0
    add-int/lit8 p1, p1, 0x1

    if-ltz p1, :cond_1

    .line 10
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-gt p1, v0, :cond_1

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    .line 12
    iget v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->e:I

    iput v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->g:I

    .line 13
    iget v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->f:I

    iput v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->h:I

    .line 14
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$EntryAdapter;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    :cond_1
    return-void
.end method

.method private b()V
    .locals 5

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$k;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$b;->a()I

    move-result v0

    add-int/lit8 v1, v0, 0x1

    .line 8
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v2}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->k(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)I

    move-result v2

    if-ltz v2, :cond_0

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v2}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v0, v2, :cond_0

    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v2}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->k(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)I

    move-result v2

    if-eq v0, v2, :cond_0

    .line 9
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v2}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->k(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)I

    move-result v2

    invoke-direct {p0, v2}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a(I)V

    .line 10
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    const/4 v3, -0x1

    invoke-static {v2, v3}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;I)I

    :cond_0
    const/4 v2, 0x0

    if-ltz v0, :cond_1

    .line 11
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v3}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    add-int/lit8 v3, v3, -0x1

    if-gt v0, v3, :cond_1

    .line 12
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v3}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    .line 13
    iput v2, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->j:I

    .line 14
    iput v2, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->e:I

    .line 15
    iget v4, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->k:I

    iput v4, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->f:I

    .line 16
    iput-boolean v2, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->m:Z

    .line 17
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v3}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$EntryAdapter;

    move-result-object v3

    invoke-virtual {v3, v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    :cond_1
    if-ltz v1, :cond_2

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    if-gt v1, v0, :cond_2

    .line 19
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    .line 20
    iput v2, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->e:I

    .line 21
    iget v2, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->k:I

    iput v2, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->f:I

    .line 22
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$EntryAdapter;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    :cond_2
    return-void
.end method

.method private b(I)V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v1

    add-int/lit8 v2, p1, 0x1

    invoke-interface {v1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    .line 3
    iget-object v0, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->b:Landroid/graphics/Bitmap;

    .line 4
    iget-object v1, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->b:Landroid/graphics/Bitmap;

    .line 5
    iget-object v2, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v2}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->n(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Les/ib;

    move-result-object v2

    new-instance v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l$a;

    invoke-direct {v3, p0, p1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l$a;-><init>(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;I)V

    invoke-virtual {v2, v0, v1, v3}, Les/ib;->a(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;Les/ib$a;)Les/ib$d;

    move-result-object p1

    .line 6
    invoke-static {p1}, Les/xc;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method private c()V
    .locals 5

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$k;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$b;->a()I

    move-result v0

    add-int/lit8 v1, v0, 0x1

    .line 9
    sget-object v2, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m:Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "saveAdjust:"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v2, 0x1

    if-ltz v0, :cond_0

    .line 10
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v3}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    sub-int/2addr v3, v2

    if-gt v0, v3, :cond_0

    .line 11
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v3}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    const/4 v4, 0x0

    .line 12
    iput v4, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->j:I

    .line 13
    iget v4, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->g:I

    iput v4, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->e:I

    .line 14
    iget v4, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->h:I

    iput v4, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->f:I

    .line 15
    iput-boolean v2, v3, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->m:Z

    .line 16
    iget-object v3, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v3}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$EntryAdapter;

    move-result-object v3

    invoke-virtual {v3, v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    :cond_0
    if-ltz v1, :cond_1

    .line 17
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    sub-int/2addr v0, v2

    if-gt v1, v0, :cond_1

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    .line 19
    iget v2, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->g:I

    iput v2, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->e:I

    .line 20
    iget v2, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->h:I

    iput v2, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->f:I

    .line 21
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$EntryAdapter;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyItemChanged(I)V

    :cond_1
    return-void
.end method

.method private c(I)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    .line 2
    iget v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->e:I

    iput v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->g:I

    .line 3
    iget v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->f:I

    iput v1, v0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->h:I

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v0

    add-int/lit8 p1, p1, 0x1

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    .line 5
    iget v0, p1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->e:I

    iput v0, p1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->g:I

    .line 6
    iget v0, p1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->f:I

    iput v0, p1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->h:I

    .line 7
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$EntryAdapter;

    move-result-object p1

    invoke-virtual {p1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    return-void
.end method

.method private d()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$k;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/ui/LongImageRecyclerView$b;->a()I

    move-result v0

    .line 2
    sget-object v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->m:Ljava/lang/String;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "showAdjust:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    if-ltz v0, :cond_3

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lt v0, v1, :cond_0

    goto :goto_0

    .line 4
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->k(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)I

    move-result v1

    if-ltz v1, :cond_1

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_1

    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->k(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)I

    move-result v1

    if-eq v0, v1, :cond_1

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->k(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)I

    move-result v1

    invoke-direct {p0, v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a(I)V

    .line 6
    :cond_1
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;I)I

    .line 7
    iget-object v1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {v1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->a(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;

    const/4 v2, 0x1

    .line 8
    iput v2, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->j:I

    .line 9
    iget-boolean v2, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->d:Z

    if-eqz v2, :cond_2

    const/4 v2, 0x0

    .line 10
    iput-boolean v2, v1, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$i;->d:Z

    .line 11
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b(I)V

    goto :goto_0

    .line 12
    :cond_2
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->c(I)V

    :cond_3
    :goto_0
    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 1

    .line 1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    .line 2
    sget v0, Les/x4;->durec_stitch_scissors1:I

    if-ne p1, v0, :cond_0

    .line 3
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->g(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)V

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->d()V

    goto :goto_0

    .line 5
    :cond_0
    sget v0, Les/x4;->durec_stitch_reset:I

    if-ne p1, v0, :cond_1

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->h(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)V

    .line 7
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b()V

    goto :goto_0

    .line 8
    :cond_1
    sget v0, Les/x4;->durec_stitch_scissors2:I

    if-ne p1, v0, :cond_2

    .line 9
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->i(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)V

    .line 10
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->c()V

    goto :goto_0

    .line 11
    :cond_2
    sget v0, Les/x4;->durec_stitch_cancel:I

    if-ne p1, v0, :cond_3

    .line 12
    iget-object p1, p0, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->b:Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;

    invoke-static {p1}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;->j(Lcom/esfile/screen/recorder/picture/PictureCompositionActivity;)V

    .line 13
    invoke-direct {p0}, Lcom/esfile/screen/recorder/picture/PictureCompositionActivity$l;->a()V

    :cond_3
    :goto_0
    return-void
.end method
